package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblRrBillType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * RR-账单类型 Mapper 接口
 * @author xiaochuan
 * @since 2022-12-12
 */
public interface TblRrBillTypeMapper extends BaseMapper {

    /**
     * 用于全参数判断
     * @param params
     * @return
     */
    List<TblRrBillType> selectByParams(@Param("params") TblRrBillType params);

    Integer disable(@Param("params") TblRrBillType params);

    Integer updateCode();

    String getBillCategoryByCode(@Param("code") String code);

    String getCodeByBillType(@Param("billType") String billType);

    String getBillTypeByCode(@Param("code") String code);

    TblRrBillType getByBillType(@Param("billType") String billType);


}

